package springboot.com.bean;

/**
 * 测试返回的实体类型转化为json
 * @author A127
 *
 */
public class Demo {
    private long id;//主键.
    private String name;//测试名称.
    public long getId() {
       return id;
    }
    public void setId(long id) {
       this.id = id;
    }
    public String getName() {
       return name;
    }
    public void setName(String name) {
       this.name = name;
    }
}